package com.yz.newspaper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yz.newspaper.pojo.po.UnitSign;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 联合署名表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-04-21
 */
@Mapper
public interface UnitSignMapper extends BaseMapper<UnitSign> {
    @Select("select u.unit_num from unit_sign u group by u.unit_num")
    List<Integer> groupUnitNum();

}
